package com.guoyu.gserv.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class UserInfo1 implements Serializable {
	private int userInfoId,sex,age,credit,level,state,userType;
	private String userName,passWord,email,address,zip,phone,mobile,QQ,MSN,fax,netSite,companyName,companAddress,companyNetSite,legalPeople,registerAsset;
	private Date registerTime;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public int getUserInfoId() {
		return userInfoId;
	}
	public void setUserInfoId(int userInfoId) {
		this.userInfoId = userInfoId;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getCredit() {
		return credit;
	}
	public void setCredit(int credit) {
		this.credit = credit;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public int getUserType() {
		return userType;
	}
	public void setUserType(int userType) {
		this.userType = userType;
	}
	
	@Column(unique=true)
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getZip() {
		return zip;
	}
	public void setZip(String zip) {
		this.zip = zip;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getQQ() {
		return QQ;
	}
	public void setQQ(String qq) {
		QQ = qq;
	}
	public String getMSN() {
		return MSN;
	}
	public void setMSN(String msn) {
		MSN = msn;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getNetSite() {
		return netSite;
	}
	public void setNetSite(String netSite) {
		this.netSite = netSite;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getCompanyNetSite() {
		return companyNetSite;
	}
	public void setCompanyNetSite(String companyNetSite) {
		this.companyNetSite = companyNetSite;
	}
	public String getLegalPeople() {
		return legalPeople;
	}
	public void setLegalPeople(String legalPeople) {
		this.legalPeople = legalPeople;
	}
	public String getRegisterAsset() {
		return registerAsset;
	}
	public void setRegisterAsset(String registerAsset) {
		this.registerAsset = registerAsset;
	}
	public Date getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
	public String getCompanAddress() {
		return companAddress;
	}
	public void setCompanAddress(String companAddress) {
		this.companAddress = companAddress;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
}
